package com.zscat.mallplus.qsg;

import com.baomidou.mybatisplus.annotation.*;
import com.zscat.mallplus.vo.TimeAxis;
import lombok.Data;

import java.io.Serializable;
import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@TableName("qsg_device")
public class QsgDevice implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String deviceCode;

    private String area;

    private String machineName;

    private Integer olStatus;

    private Integer runStatus;

    @TableField(exist = false)
    private List<String> imgs;

    private String mealId;

    private Date createDatetime;

    private Integer storeId;

    private Integer isMealdevice;

    @TableField(exist = false)
    private String statusName;

    @TableField(exist = false)
    private String ids;

    private String imageUrl;

    private Date restartTime;

    private String deviceDesc;

    private String customerMeal;

    private Integer sort;

    private Integer deviceType;

    @TableField(strategy = FieldStrategy.IGNORED)
    private String serverIp;
    @TableField(strategy = FieldStrategy.IGNORED)
    private String serverPort;

    @TableField(exist = false)
    private QsgRoom room;
    @TableField(exist = false)
    private String endTime;
    @TableField(exist = false)//19310060223 230710
    private List<Integer> currentOrderArea;
    @TableField(exist = false)
    private List<Integer> todayYuyue;
    @TableField(exist = false)
    private List<Integer> secondYuyue;
    @TableField(exist = false)
    private List<TimeAxis> timeAxes;
    @TableField(exist = false)
    private List<TimeAxis> timeAxesSecond;
    @TableField(exist = false)
    private List<Integer> yuyueOrderArea;
    @TableField(exist = false)
    private String storeName;
    private String token;
    private Integer isGateway;
    @TableField(value = "image_url1")
    private String imageUrl1;
    @TableField(value = "image_url2")
    private String imageUrl2;
    private BigDecimal price;
}